export interface IAccount {
  account: string
  password: string
}
// 统一数据返回类型
export interface IDataType<T = any> {
  code: number
  data: T
}

export interface ILoginResult {
  id: number
  name: string
  token: string
}

export interface IUserInfoResult {
  role: {
    id: string
  }
}

export type IUserMenusResult = Array<any>
